import { BaseController } from 'egg-cool-controller';
import router from 'egg-cool-router';

@router.prefix('/api/role', [ 'add', 'info', 'list'])
export default class Role extends BaseController {
    init() {
        this.setEntity(this.ctx.repo.Role);
        this.setService(this.service.role);
    }
}
